﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HMS.Common;

namespace HMS.BL
{
    public class NodeAttribute
    {
        public NodeAttribute()
        { }
        public NodeAttribute(string name, string value, string datatype, string is_req, string prec, string control_type, string dispalyName)
        {
            this.name = name;
            this.value = value ;
            this.datatype = datatype;
            this.is_req=is_req;
            this.prec = prec;
            this.control_type = control_type;
            this.dispalyName = dispalyName;
        }

        public NodeAttribute(string name, string value, string datatype, string is_req, string prec, string control_type, string dispalyName, List<NodeAttrDropVal> NodeAttrDropVal)
        {
            this.name = name;
            this.value = value;
            this.datatype = datatype;
            this.is_req = is_req;
            this.prec = prec;
            this.control_type = control_type;
            this.dispalyName = dispalyName;
            this.NodeAttrDropVal = NodeAttrDropVal;
        }

        public string name { get; set; }
        public string dispalyName { get; set; }
        public string value { get; set; }
        public string datatype { get; set; }
        public string is_req { get; set; }
        public string prec { get; set; }
        public string control_type { get; set; }       
        public List<NodeAttrDropVal> NodeAttrDropVal { get; set; }
        //public List<DropdownListItem> NodeAttrDropItem { get; set; }
    }
}
